package com.woniu.money.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.woniu.car.bean.TCarrier;
import com.woniu.car.bean.TReceipt;
import com.woniu.exception.bean.TException;
import com.woniu.exception.bean.TExhandle;
import com.woniu.need.bean.TNeed;
import com.woniu.need.bean.TTransport;
import com.woniu.order.bean.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * <p>
 * 
 * </p>
 *
 * @author yellowDocter
 * @since 2022-08-09
 */
@TableName("t_finance")
@ApiModel(value = "TFinance对象", description = "")
public class TFinance implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "finance_id", type = IdType.AUTO)
    private Integer financeId;

    @ApiModelProperty("订单外键")
    private TOrder torderId;

    @ApiModelProperty("状态")
    public Integer state;

    @ApiModelProperty("回单外键")
    private TReceipt treceiptId;

    @ApiModelProperty("重量外键")
    private TGoods tgoodsId;

    @ApiModelProperty("费用外键")
    private TCost tcostId;

    @ApiModelProperty("异常外键")
    private TException texception;

    @ApiModelProperty("异常外键")
    private TExhandle tExhandle;

    @ApiModelProperty("运输外键")
    private TTransport transport;

    @ApiModelProperty("订单信息外键")
    private TOrderbasicinfo tOrderbasicinfo;

    @ApiModelProperty("运算外键")
    private TPrice tprice;
    @ApiModelProperty("外键")
    private TNeed tneed;
    @ApiModelProperty("提货地外键")
    private TAddrinfo taddrinfo;
    @ApiModelProperty("承运商信息")
    private TCarrier tcarrier;

    @Override
    public String toString() {
        return "TFinance{" +
                "financeId=" + financeId +
                ", torderId=" + torderId +
                ", treceiptId=" + treceiptId +
                ", tgoodsId=" + tgoodsId +
                ", tcostId=" + tcostId +
                ", texception=" + texception +
                ", tExhandle=" + tExhandle +
                ", transport=" + transport +
                ", tOrderbasicinfo=" + tOrderbasicinfo +
                ", tprice=" + tprice +
                ", tneed=" + tneed +
                ", taddrinfo=" + taddrinfo +
                ", tcarrier=" + tcarrier +
                '}';
    }

    public TCarrier getTcarrier() {
        return tcarrier;
    }

    public void setTcarrier(TCarrier tcarrier) {
        this.tcarrier = tcarrier;
    }

    public TAddrinfo getTaddrinfo() {
        return taddrinfo;
    }

    public void setTaddrinfo(TAddrinfo taddrinfo) {
        this.taddrinfo = taddrinfo;
    }

    public TNeed getTneed() {
        return tneed;
    }

    public void setTneed(TNeed tneed) {
        this.tneed = tneed;
    }

    public TPrice getTprice() {
        return tprice;
    }

    public void setTprice(TPrice tprice) {
        this.tprice = tprice;
    }

    public TOrderbasicinfo gettOrderbasicinfo() {
        return tOrderbasicinfo;
    }

    public void settOrderbasicinfo(TOrderbasicinfo tOrderbasicinfo) {
        this.tOrderbasicinfo = tOrderbasicinfo;
    }

    public TTransport getTransport() {
        return transport;
    }

    public void setTransport(TTransport transport) {
        this.transport = transport;
    }

    public Integer getFinanceId() {
        return financeId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public void setFinanceId(Integer financeId) {
        this.financeId = financeId;
    }

    public TOrder getTorderId() {
        return torderId;
    }

    public void setTorderId(TOrder torderId) {
        this.torderId = torderId;
    }

    public TReceipt getTreceiptId() {
        return treceiptId;
    }

    public void setTreceiptId(TReceipt treceiptId) {
        this.treceiptId = treceiptId;
    }

    public TGoods getTgoodsId() {
        return tgoodsId;
    }

    public void setTgoodsId(TGoods tgoodsId) {
        this.tgoodsId = tgoodsId;
    }

    public TCost getTcostId() {
        return tcostId;
    }

    public void setTcostId(TCost tcostId) {
        this.tcostId = tcostId;
    }

    public TException getTexception() {
        return texception;
    }

    public void setTexception(TException texception) {
        this.texception = texception;
    }

    public TExhandle gettExhandle() {
        return tExhandle;
    }

    public void settExhandle(TExhandle tExhandle) {
        this.tExhandle = tExhandle;
    }

}
